package day2


class Dog {
  var name:String = _
  var age= 0
  var color = ""
  var power = 3

  def eat() = {
    println(name + "吃骨头")
    power += 1
  }

  def jiao() = {

//    new AudioTest02("D:\\BanGongRuanJian.All\\DaShuJu_All\\BigDataAll\\云梦山2303\\19.Scala\\dog.wav")
    power -= 1
  }
}
